package cn.iocoder.yudao.module.signature.controller.admin.developeraccount.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 苹果开发者账号分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DeveloperAccountPageReqVO extends PageParam {

    @Schema(description = "开发者账号", example = "11772")
    private String developerAccount;

    @Schema(description = "issid", example = "32230")
    private String issId;

    @Schema(description = "k_id", example = "6758")
    @JsonProperty("kId")
    private String kId;

    @Schema(description = "c_id", example = "10008")
    @JsonProperty("cId")
    private String cId;

    @Schema(description = "b_id", example = "419")
    @JsonProperty("bId")
    private String bId;

    @Schema(description = "开发者名字", example = "芋艿")
    private String developerName;

    @Schema(description = "到期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] expireDate;

    @Schema(description = "账号归属类型", example = "1")
    private String accountBelongType;


    @Schema(description = "账号归属名称", example = "芋艿")
    private String userName;

    private Long userId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}